function save(thisA) {
    let id = $(thisA).attr("name");
    let coding = $("#coding").val();
    let name = $("#name").val();
    let role = $("#role").val();
    let department = $("#department").val();
    let phone = $("#phone").val();

    if (coding==""||name==""||role==""||department==""||phone==""){
        alert("所有信息均不能为空!")
        return;
    }
    let json={
        id:id,
        coding:coding,
        name:name,
        password:'',
        role:role,
        department:department,
        phone:phone
    }
    $.getJSON('/lq/upd',json,function (dataA) {
        if (dataA==true){
            alert("修改成功!")
            window.location.href="/lq/userRole"
        }else{
            alert("修改失败!")
            window.location.href="/lq/userRole"
        }
    })
}